package com.ruoyi.bzjgl.domain;

import com.ruoyi.common.core.domain.entity.SysDept;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.ArrayList;
import java.util.List;

/**
 * 【请填写功能名称】对象 legal_case_basic
 *
 * @author ruoyi
 * @date 2024-01-17
 */
public class LegalCaseBasic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @Excel(name = "编号")
    private String bh;

    /** 名称 */
    @Excel(name = "名称")
    private String mc;

    /** 上级编号 */
    @Excel(name = "上级编号")
    private String sjbh;

    /** 备注 */
    @Excel(name = "备注")
    private String bz;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long js;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long wj;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String pyjm;

    private List<LegalCaseBasic> children = new ArrayList<LegalCaseBasic>();

    public void setBh(String bh)
    {
        this.bh = bh;
    }

    public String getBh()
    {
        return bh;
    }
    public void setMc(String mc)
    {
        this.mc = mc;
    }

    public String getMc()
    {
        return mc;
    }
    public void setSjbh(String sjbh)
    {
        this.sjbh = sjbh;
    }

    public String getSjbh()
    {
        return sjbh;
    }
    public void setBz(String bz)
    {
        this.bz = bz;
    }

    public String getBz()
    {
        return bz;
    }
    public void setJs(Long js)
    {
        this.js = js;
    }

    public Long getJs()
    {
        return js;
    }
    public void setWj(Long wj)
    {
        this.wj = wj;
    }

    public Long getWj()
    {
        return wj;
    }
    public void setPyjm(String pyjm)
    {
        this.pyjm = pyjm;
    }

    public String getPyjm()
    {
        return pyjm;
    }

    public List<LegalCaseBasic> getChildren()
    {
        return children;
    }

    public void setChildren(List<LegalCaseBasic> children)
    {
        this.children = children;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("bh", getBh())
                .append("mc", getMc())
                .append("sjbh", getSjbh())
                .append("bz", getBz())
                .append("js", getJs())
                .append("wj", getWj())
                .append("pyjm", getPyjm())
                .toString();
    }
}